/*
* @Author: XuBin
* @Date:   2016-11-13 16:24:31
* @Last Modified by:   XuBin
* @Last Modified time: 2016-11-13 16:26:46
*/

'use strict';
var webpack = require('webpack');

module.exports = {
  entry: {
    app: './main.js',
    vendor: ['jquery'],
  },
  output: {
    filename: 'bundle.js'
  },
  plugins: [
    new webpack.optimize.CommonsChunkPlugin(/* chunkName= */'vendor', /* filename= */'vendor.js')
  ]
};